package com.mdisoft.quotogram;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.Toast;

public class QuoteActivity extends Activity {
	private Context _context;
	
	@Override
	public void onCreate (Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.screen_quote);
		
		_context = this;
		
		ImageView btnNext = (ImageView)findViewById(R.id.quote_NextQuote);
		ImageView btnPrev = (ImageView)findViewById(R.id.quote_PrevQuote);
		
		btnNext.setOnClickListener(new OnClickListener(){
			public void onClick(View v) {
				Toast.makeText(_context, "Next click", Toast.LENGTH_SHORT).show();
			}			
		});
		btnPrev.setOnClickListener(new OnClickListener(){
			public void onClick(View v) {
				Toast.makeText(_context, "Prev click", Toast.LENGTH_SHORT).show();
			}			
		});

		Button btnBack = (Button)findViewById(R.id.btnBack);
		btnBack.setOnClickListener(new OnClickListener(){
			public void onClick(View v){
				finish();
			}
		});
		
		
		
		
	}
}
